TARGET = softbus_client
SRC = softbus_adapter.cpp  softbus_client.cpp
OBJ = ${SRC:.cpp=.o}

LIBS = -lsoftbus_client.z -lhilog.z -lboundscheck

CFLAGS = --std=c++17 -Wall -Werror -g -I./ -I=/usr/include/dsoftbus/ -I=/usr/include/hilog/

.PHNOY:all
all: ${TARGET}

${TARGET} : ${OBJ}
	${CXX}  ${CFLAGS}  ${LIBS} $^ -o $@
${OBJ}:%.o:%.cpp
	${CXX} ${CFLAGS} ${LIBS} -c $< -o $@

.PHNOY: clean
clean:
	-rm -rf ${TARGET} ${OBJ}
